home *** CD-ROM | disk | FTP | other *** search
/ .net 2002 March / DotNetMagazine-Issue107-Coverdisc-NET107-02-03-PCMac.bin / pc / PC Software / free_browsing / DavesQckSearchDbar3-14 / dqsd.exe / searches / bq.xml < prev    next >
Text File  |  2002-09-20  |  2KB  |  50 lines

  1. <search function="bq">
  2.   <name>Bartlett's Familiar Quotations</name>
  3.   <category>Reference</category>
  4.   <contributor>Glenn Carr</contributor>
  5.   <link>http://www.online-literature.com/quotes/quotations.php</link>
  6.   <email>glenn at glenncarr dot com</email>
  7.   <description>
  8.   Search Bartlett's Familiar Quotations at <a target="_blank" href="http://www.online-literature.com/">The Literature Network</a>.
  9.     <div class="helpboxDescLabels">Switches:</div>
  10.     <table class="helpboxDescTable">
  11.       <tr><td><nobr>/author:<author></nobr></td><td> - </td><td>Limit to works by the specified author</td></tr>
  12.       <tr><td>/work:<work></td><td> - </td><td>Limit to works with the specified title</td></tr>
  13.     </table>
  14.     <div class="helpboxDescLabels">Examples:</div>
  15.     <table class="helpboxDescTable">
  16.       <tr><td>bq truths to be self-evident</td></tr>
  17.       <tr><td>bq /author:twain</td></tr>
  18.       <tr><td>bq /work:declaration</td></tr>
  19.     </table>
  20.   </description>
  21.   <form name="bqf"
  22.         method="post"
  23.         action="http://www.online-literature.com/quotes/quotation_search.php">
  24.     <input type="hidden" name="author" value="" />
  25.     <input type="hidden" name="from" value="" />
  26.     <input type="hidden" name="quote" value="" />
  27.   </form>
  28.   <script><![CDATA[
  29.     function bq(q)
  30.     {
  31.       if ( nullArgs("bq", q) )
  32.         return;
  33.  
  34.       var args = parseArgs(q, "quote, author, work");
  35.       if ( typeof args.switch_val["author"] != 'undefined' )
  36.         document.bqf.author.value = args.switch_val["author"];
  37.       if ( typeof args.switch_val["work"] != 'undefined' )
  38.         document.bqf.from.value = args.switch_val["work"];
  39.       document.bqf.quote.value = args.q;
  40.  
  41.       submitForm(bqf);
  42.     }
  43.   ]]></script>
  44.  
  45.   <copyright>
  46.     Copyright (c) 2002 David Bau
  47.     Distributed under the terms of the
  48.     GNU Public License, Version 2 (http://www.gnu.org/copyleft/gpl.txt)
  49.   </copyright>
  50. </search>